<script setup lang='ts'>
import SignContract from '../components/SignContract.vue'
import EditProcess from '@/views/process/components/EditProcess.vue'

const signVisible = ref(false)
const editVisible = ref(false)
// function signContract() {

// }
</script>

<template>
  <div>
    <el-button type="primary" mb-2 @click="editVisible = true">
      编辑
    </el-button>

    <el-descriptions
      :column="2"
      border
    >
      <el-descriptions-item label="商机来源">
        老客户
      </el-descriptions-item>
      <el-descriptions-item label="SLA">
        99.9%
      </el-descriptions-item>
      <el-descriptions-item label="预估报价">
        80000
      </el-descriptions-item>
      <el-descriptions-item label="项目经理">
        张三  1991345678
      </el-descriptions-item>
      <el-descriptions-item label="售前">
        李四
      </el-descriptions-item>

      <el-descriptions-item label="业务需求描述">
        业务需求描述...
      </el-descriptions-item>
      <el-descriptions-item label="成单关键要素">
        成单关键要素...
      </el-descriptions-item>
    </el-descriptions>
    <SignContract v-model="signVisible" />
    <EditProcess v-model="editVisible" />
  </div>
</template>

<style scoped lang='scss'>
</style>
